package name.ekr.assetguide.domain;

/**
 * Implements Value Object pattern.
 */
public class AssetsPrice {

	private double usdPrice;
	private double goldPrice; 
	private double silverPrice;
	private double sharesPrice;
	private double bondsPrice; 
	private double rurPrice;
	
	
	public AssetsPrice(
			double usdPrice, double goldPrice, double silverPrice,
			double sharesPrice, double bondsPrice, double rurPrice) {
		
		this.usdPrice = usdPrice;
		this.goldPrice = goldPrice;
		this.silverPrice = silverPrice;
		this.sharesPrice = sharesPrice;
		this.bondsPrice = bondsPrice;
		this.rurPrice = rurPrice;
	}

	public double getUsdPrice() {
		return usdPrice;
	}

	public double getGoldPrice() {
		return goldPrice;
	}

	public double getSilverPrice() {
		return silverPrice;
	}

	public double getSharesPrice() {
		return sharesPrice;
	}

	public double getBondsPrice() {
		return bondsPrice;
	}

	public double getRurPrice() {
		return rurPrice;
	}

	
	@Override
	public String toString() {
		return "AssetsPrice [usdPrice=" + usdPrice + ", goldPrice=" + goldPrice
				+ ", silverPrice=" + silverPrice + ", sharesPrice="
				+ sharesPrice + ", bondsPrice=" + bondsPrice + ", rurPrice="
				+ rurPrice + "]";
	}

	
}
